package top.aiprogram.service;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;
import top.aiprogram.controller.UserController;
import top.aiprogram.entity.User;
import top.aiprogram.userinter.Users;

@Service("userServiceImpl")
public class UserServiceImpl implements UserService {
    @Override
    public User user(String name,int age) {
        return top.aiprogram.entity.User.init().person(name,age);
    }


    @Override
    public User execute(String... args) {
        return null;
    }
}
